﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Exceptions
{
    public class CommonBusinessException : Exception
    {
        public String Code { get; set; }
        public String DefaultMessage { get; set; }
        public String[] Args { get; set; }

        public CommonBusinessException(String code, String defaultMessage, params String[] args)
        {
            Code = code;
            DefaultMessage = defaultMessage;
            Args = args;
        }
    }
}
